﻿<%@ Page Language="C#" MasterPageFile="~/Clientmasterpage.Master" AutoEventWireup="true" CodeBehind="AdminLogin.aspx.cs" Inherits="ESCHOOL.WebForm1" Title="Admin Login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style2
        {
            width: 133px;
        }
        .style3
        {
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  
    <table class="style1">
        <tr>
            <td class="style3">
                &nbsp;</td>
            <td class="style2" style="text-align: center">
                ADMIN LOGIN</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style3" colspan="2">
                Sign in your account</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style3">
                User Name</td>
            <td class="style2" style="margin-left: 40px">
                <asp:TextBox ID="tbuname" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="tbuname" ErrorMessage="plz enter valid value"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style3">
                Password</td>
            <td class="style2" style="margin-left: 40px">
                <asp:TextBox ID="tbpassword" runat="server" TextMode="Password"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="tbpassword" ErrorMessage="Plz enter valid value"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style3">
                &nbsp;</td>
            <td class="style2" style="margin-left: 40px">
                <asp:Button ID="btnlogin" runat="server" onclick="btnlogin_Click" 
                    Text="Login" />
            </td>
            <td>
                <asp:Button ID="btncancel" runat="server" Text="Cancel" 
                    CausesValidation="False" onclick="btncancel_Click" />
            </td>
        </tr>
        <tr>
            <td class="style3" colspan="3">
                <asp:Label ID="Labelerror" runat="server" Text="Label"></asp:Label>
            </td>
        </tr>
    </table>
</asp:Content>
